package com.appspot.didit.client.user;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("user")
public interface UserService extends RemoteService {
	User authenticate(String username, String enUsername);
	User newUser(String username, String enUsername);
	Boolean isAvailable(String username);
	User getUser();
	void logout();
	void generate();
	void init();
}
